﻿using ProjectCore.Domain.Model.Entity;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace ProjectCore.Application.AppOrder
{
  public  interface IAppOrder
    {
        /// <summary>
        /// 订单显示
        /// </summary>
        /// <returns></returns>
        Task<List<Order>> GetOrders();


        /// <summary>
        /// 反填
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        Task<Order> GetOrder(int Id);


        /// <summary>
        /// 全部发货
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        Task<int> UptState(string Id);


        /// <summary>
        /// 收货信息反填
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        Task<Site> GetSite(int Id);


        /// <summary>
        /// 支付反填
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        Task<Pay> GetPay(int Id);
    }
}
